package com.ruoyi.certificate.mapper;

import java.util.List;
import com.ruoyi.certificate.domain.NjtCertificate;

/**
 * 农检通合格证Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-05
 */
public interface NjtCertificateMapper 
{
    /**
     * 查询农检通合格证
     * 
     * @param id 农检通合格证主键
     * @return 农检通合格证
     */
    public NjtCertificate selectNjtCertificateById(Long id);

    /**
     * 查询农检通合格证列表
     * 
     * @param njtCertificate 农检通合格证
     * @return 农检通合格证集合
     */
    public List<NjtCertificate> selectNjtCertificateList(NjtCertificate njtCertificate);

    /**
     * 新增农检通合格证
     * 
     * @param njtCertificate 农检通合格证
     * @return 结果
     */
    public int insertNjtCertificate(NjtCertificate njtCertificate);

    /**
     * 修改农检通合格证
     * 
     * @param njtCertificate 农检通合格证
     * @return 结果
     */
    public int updateNjtCertificate(NjtCertificate njtCertificate);

    /**
     * 删除农检通合格证
     * 
     * @param id 农检通合格证主键
     * @return 结果
     */
    public int deleteNjtCertificateById(Long id);

    /**
     * 批量删除农检通合格证
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNjtCertificateByIds(Long[] ids);
}
